<?php

class parents
{
	var $test='';
	
	function __construct(){
	 echo $this->test;
	}
	
	function test()
	{
		echo $this->test;
	}
}


class child extends parents
{
	var $test="aa";
}


$t=new child();